package aooO.crm.Service;

import aooO.crm.pojo.Customer;

import java.util.List;
import java.util.Map;


public interface CustomerService {

    List<Customer> selectCustomerByConditionForPage(Map<String ,Object> map);

    int selectTotalPage(Map<String,Object> map);

    int insertCustomer(Customer record);

    List<String> queryCustomerNameByFuzzyName(String customerName);

    String selectCustomerByName(String name);

    int updateCustomer(Customer customer);

    Customer selectCustomerById(String id);

    Customer selectCustomerDetailById(String id);


    int deleteCustomerByIds(String[] ids);
}
